#pragma once

#include <string>

namespace XMLSAX
{
	namespace Common
	{
		class __declspec(dllexport) XMLAttribute
		{
		private:
			std::wstring _attributeName;
			std::wstring _attributeValue;

		public:
			XMLAttribute();
			XMLAttribute(const std::wstring& name, const std::wstring& value);
			~XMLAttribute();

			const std::wstring& Name() const;
			void SetName(const std::wstring& name);

			const std::wstring& Value() const;
			void SetValue(const std::wstring& value);

#ifdef _DEBUG
			void printAttribute();
#endif
		};
	}
}